avoid showing warnings for excluded files to not confuse users
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 6 Mar 2025 15:24:13 +0000 (16:24 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 12 Mar 2025 14:12:50 +0000 (15:12 +0100)
commitd530ce3dc394f30299ac6ca241e3cd8b9dab5dd2
tree5aadfa551cc8262d89e0da55e1bb27126e7e4de7
parent33834b83c65fb8daee2142b19dafacc90423da7d
avoid showing warnings for excluded files to not confuse users

if a file name is invalid, the files will be ignored

if a file is excluded because of selective sync, the file will be
ignored

if a file is ignored for those both reasons, avoid showing a very
visible warning to the user

will limit too many warnings and notifications being shown

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/discovery.cpp
src/libsync/discovery.h